package com.leyou.gateway.fallback;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 熔断降级处理
 */
@RestController
public class FallbackController {
    /**
     * 降级处理路径
     */
    @GetMapping("/fallback")
    public String fallback(){
        return "服务器繁忙,请稍候再来";
    }

}
